from PyQt4 import QtCore, QtGui

class Printer(QtCore.QThread):
    def __init__(self):
        QtCore.QThread.__init__(self)
        self.start()

    def run(self):
        while True:
            a = raw_input('')
            self.emit(QtCore.SIGNAL('reqvariavel(PyQt_PyObject)'), a)
